const contractColumns = {
  all: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '首次咨询类型',
      dataIndex: 'first_type',
      scopedSlots: { customRender: 'first_type' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '所属顾问',
      dataIndex: 'adviser_name',
      scopedSlots: { customRender: 'adviser_name' }
    },
    {
      title: '客户姓名',
      dataIndex: 'customer_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '总金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' },
      sorter: true
    },
    {
      title: '尾款',
      dataIndex: 'tail_money',
      scopedSlots: { customRender: 'tail_money' }
    },
    {
      title: '合同状态',
      dataIndex: 'status',
      scopedSlots: {
        customRender: 'status'
      }
    },
    {
      title: '审核信息',
      dataIndex: 'check_info'
    },
    {
      title: '创建时间',
      dataIndex: 'created_at',
      sorter: true
    },
    // {
    //   title: '提交时间',
    //   dataIndex: 'submit_check_time'
    // },
    {
      title: '操作',
      dataIndex: 'operate',
      scopedSlots: { customRender: 'operate' }
    }
  ],
  refund: [
    {
      title: '退款金额',
      dataIndex: 'refund_money'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '退款理由',
      dataIndex: 'refund_info'
    },
    {
      title: '申请单',
      dataIndex: 'refund_order'
    },
    {
      title: '客户沟通截图',
      dataIndex: 'refund_img'
    },
    {
      title: '退款截图',
      dataIndex: 'refund_jt'
    },
    {
      title: '退款时间',
      dataIndex: 'refund_at',
      key: 'refund_at'
    },
    {
      title: '提交时间',
      dataIndex: 'submit_time'
    },
    {
      title: '创建时间',
      dataIndex: 'create_time'
    },
    {
      title: '状态',
      dataIndex: 'contract_status',
      scopedSlots: { customRender: 'contract_status' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  selected: [
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '业务大类',
      dataIndex: 'category'
    },
    {
      title: '业务小类',
      dataIndex: 'name'
    },
    {
      title: '基础官费',
      dataIndex: 'official_fee'
    },
    {
      title: '附加项官费',
      dataIndex: 'ext_official_fee',
      scopedSlots: { customRender: 'ext_official_fee' }
    },
    {
      title: '总管费',
      dataIndex: 'total_official_fee'
    },
    {
      title: '收款',
      dataIndex: 'price'
    },
    {
      title: '业务状态',
      dataIndex: 'status1',
      scopedSlots: { customRender: 'status1' }
    },
    {
      title: '附加内容',
      dataIndex: 'additional_content',
      scopedSlots: { customRender: 'additional_content' }
    }
  ],
  finance: [
    {
      title: '打款金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' }
    },
    {
      title: '打款时间',
      dataIndex: 'payment_time'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time'
    },
    {
      title: '收款账户',
      dataIndex: 'receive_account_type',
      scopedSlots: { customRender: 'receive_account_type' }
    },
    {
      title: '打款账号',
      dataIndex: 'payment_account'
    },
    {
      title: '打款证明',
      dataIndex: 'img',
      scopedSlots: { customRender: 'img' }
    },
    {
      title: '备注信息',
      dataIndex: 'remarks'
    }
  ],
  address: [
    {
      title: '客户姓名',
      dataIndex: 'name'
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '联系地址',
      dataIndex: 'address'
    },
    {
      title: '物流名称',
      dataIndex: 'logistics_name'
    },
    {
      title: '物流单号',
      dataIndex: 'logistics_no'
    }
  ],
  check: [
    {
      title: '审核人',
      dataIndex: 'username'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time_str'
    },
    {
      title: '审核结果',
      dataIndex: 'check_result'
    },
    {
      title: '备注',
      dataIndex: 'notes'
    }
  ],
  change: [
    {
      title: '原顾问',
      dataIndex: 'old_customer',
      key: 'old_customer'
    },
    {
      title: '新顾问',
      dataIndex: 'new_customer',
      key: 'new_customer'
    },
    {
      title: '转移人',
      dataIndex: 'change_customer',
      key: 'change_customer'
    },
    {
      title: '转移人',
      dataIndex: 'change_time',
      key: 'change_time'
    }
  ],
  transfer: [
    {
      title: '原顾问',
      dataIndex: 'af_username',
      key: 'af_username'
    },
    {
      title: '新顾问',
      dataIndex: 'at_username',
      key: 'at_username'
    },
    {
      title: '操作人',
      dataIndex: 'op_username',
      key: 'op_username'
    },
    {
      title: '转移时间',
      dataIndex: 'created_at',
      key: 'created_at'
    }
  ],
  ext_columns: [
    {
      title: '序号',
      dataIndex: 'xu',
      scopedSlots: { customRender: 'xu' }
    },
    {
      title: '所属业务ID',
      dataIndex: 'cb_id',
      scopedSlots: { customRender: 'cb_id' }
    },
    {
      title: '附加项',
      dataIndex: 'name'
    },
    {
      title: '附加项数量',
      dataIndex: 'count'
    },
    {
      title: '附加项单价',
      dataIndex: 'price'
    },
    {
      title: '附加项小计',
      dataIndex: 'amount'
    }
  ]
}

export default contractColumns
